package com.ta.gulimall.common.enums;

public enum BizCodeEnums {
    UNKNOW_EXCEPTION(10000, "系统未知异常"),
    VAILD_EXCEPTION(10001, "参数格式校验异常"),

    FAILURE_EXCEPTION(500, "操作失败");

    Integer code;
    String message;

    BizCodeEnums(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }

}
